#pragma once

#ifdef CUBEROBOTBUS_EXPORTS
#define CUBEBOTBUS_API __declspec(dllexport)
#else
#define CUBEBOTBUS_API __declspec(dllimport)
#endif

namespace wsbus {

	enum ServerError {
		seSuccess = 0,
		seServerNotFound,
		seAuthFailed,
		seSessionIdDuplicate,
	};

	enum NetError {
		neSuccess = 0,
		neNoConnect = 100,
		neSendTimeout,
		neUnkown,
	};

	enum ConnStatus {
		csOffline = 0,
		csOnline,
		csLogouted,
		csLogined,
	};

	enum AppType {
		atDefault = 0,
		atBus,
	};

}